package com.camp.service;

import java.util.List;
import com.camp.domain.Facility;

/**
 * 设施Service接口
 * 
 * @author ruoyi
 * @date 2024-11-03
 */
public interface IFacilityService 
{
    /**
     * 查询设施
     * 
     * @param facilityId 设施主键
     * @return 设施
     */
    public Facility selectFacilityByFacilityId(String facilityId);

    /**
     * 查询设施列表
     * 
     * @param facility 设施
     * @return 设施集合
     */
    public List<Facility> selectFacilityList(Facility facility);

    /**
     * 新增设施
     * 
     * @param facility 设施
     * @return 结果
     */
    public int insertFacility(Facility facility);

    /**
     * 修改设施
     * 
     * @param facility 设施
     * @return 结果
     */
    public int updateFacility(Facility facility);

    /**
     * 批量删除设施
     * 
     * @param facilityIds 需要删除的设施主键集合
     * @return 结果
     */
    public int deleteFacilityByFacilityIds(String[] facilityIds);

    /**
     * 删除设施信息
     * 
     * @param facilityId 设施主键
     * @return 结果
     */
    public int deleteFacilityByFacilityId(String facilityId);
}
